package com.info.zhiduoduo.pay.sdk.zhaoshangbank.model.common;

import java.util.ArrayList;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class PatternInfo {

	/** 业务模式 */
	private String busmod;   //可通过前置机或者可经办的业务模式信息（DCLISMOD）接口获得

	public static List<PatternInfo> ofLost(String patternCode) {
		List<PatternInfo> infoList = new ArrayList<>();
		PatternInfo patternInfo = new PatternInfo().setBusmod(patternCode);
		infoList.add(patternInfo);
		return infoList;
	}

}
